<extend name="Public/base" />
<block name="meta">
	<if condition = '$different eq true'>
		<title>{$search_text|htmlspecialchars}</title>
		<meta keywords = "{$tags_info.ask_tags_keyword|htmlspecialchars}">
		<meta descriptions = "{$tags_info.ask_tags_description|htmlspecialchars}">
	<else/>
		<title>{$search_text|htmlspecialchars} - 哈尔滨家家户户网</title>
	</if>
</block>
<block name="head_css">
	<link rel="stylesheet" href="__ASK__/css/list_2.pkg.css">
</block>
<block name="content">  
      <div class="g-bd">
        <div class="m-bnav">
        	<if condition='$different eq true'>
		     	<a href="{:U('Ask/index')}" class="text-tit">  装修问答</a> >  
         	<span class="b01"><a href="#" class="text-tit">{$search_text||htmlspecialchars}</a></span>
         	<else />
         		<a href="{:U('Ask/index')}" class="text-tit">  装修问答</a> >  搜索结果
         	</if>
         </div>
        <!-- 面包屑 -->

        <div class="m-content">
          <div class="column left">
            <div class="row row-1">
            <notempty name = 'article_list'>
	            <volist name='article_list' id='vo'>
		              <div class="each">
		                <a href="{:U('Ask/detail',array('id'=>$vo['ask_article_id']))}" class="text-tit">[{$vo.ask_category_name|htmlspecialchars}]{$vo.ask_article_title|htmlspecialchars}</a>
		                <!-- 第一条回答 -->
		                <p class="answer-one">{$vo.ask_article_content|clearHtml|htmlspecialchars|msubstr=###,0,55}</p>
		                <p class="msg">
		                	  已有 <span class="b01">{$vo.ask_article_id|randGoodsFollowCount}</span> 人浏览 &nbsp;&nbsp;&nbsp;&nbsp;{$vo.ask_category_pname|htmlspecialchars} > {$vo.ask_category_name|htmlspecialchars}
		                  <span class="time2">{$vo.create_time|time_format="Y-m-d H:i:s"}</span>
		                </p>
		              </div>
				</volist>
			<else/>
           		<center>暂无对应文章</center>
            </notempty>
              <!-- 分页 -->
              <div class="page">
                 {$_page}
              </div>
            </div>
          </div>
          <!-- 左侧结束 -->

            <div class="column right">
	            <div class="row ad" id='ad_4'>
	            </div>
				<notempty name="hot_tags">
		            <div class="row label">
		              <h1>最新标签</h1>
		              <ul class="label-list new-list">
			              <volist name='hot_tags' id='vo'>
			                <li><a href="{:U('Ask/search',array('id'=>$key))}">{$vo|htmlspecialchars}</a></li>
			              </volist>
		              </ul>
		            </div>
				</notempty>
				<notempty name = 'qa_list'>
		            <div class="row ask">
		              <p>大家都在问</p>
		              <ul class="question">
			              <notempty name='qa_list'>
			              	<volist name='qa_list' id='vo'>
			                	<li><a href="{:U('Ask/detail',array('id'=>$vo['ask_article_id']))}">{$vo['ask_article_title']|htmlspecialchars}</a></li>
			                </volist>
			              </notempty>
		              </ul>
		            </div>
	            </notempty>
          </div>
          <!-- 右侧结束 -->

      </div>
	</div>
</block>
<block name="foot_js">
<script src="{:U('Ad/index',array('id'=>'4'))}"></script>
</block>  